From: matthew <matthew@owens.tech>
Date: Tue, 6 Nov 2018 19:46:46 +0000 (+0000)
Subject: fixed ERR_H redefinition
X-Git-Url: https://git.owens.tech/assets/lich_lifts_title_slice.png%20%22Lich%20Lifts%22/assets/lich_lifts_title_slice.png%20%22Lich%20Lifts%22/git?a=commitdiff_plain;p=csrpg.git

fixed ERR_H redefinition
---

diff --git a/nogl/err.c b/nogl/err.c
index 930bed6..4af0422 100644
--- a/nogl/err.c
+++ b/nogl/err.c
@@ -8,8 +8,8 @@ static char* lpath = NULL;
 
 #define ERR_X 0
 #define ERR_Y 0
-#define ERR_W 80
-#define ERR_H 3
+#define ERR_WIDTH 80
+#define ERR_HEIGHT 3
 
 void err_output(const char *message)
 {
@@ -17,7 +17,7 @@ void err_output(const char *message)
 		fprintf(stderr, message);
 	} else {
 		err_clear();
-		win = newwin(ERR_H, ERR_W, ERR_Y, ERR_X);
+		win = newwin(ERR_HEIGHT, ERR_WIDTH, ERR_Y, ERR_X);
 		wborder(win, '|', '|', '-', '-', '+', '+', '+', '+');
 		mvwprintw(win, 1, 2, message);
 		wrefresh(win);